home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 April
/
CHIP CD (4 - 2007).iso
/
beeld
/
3d
/
ArtOfIllusion24-Mac.dmg
/
Art of Illusion
/
ArtOfIllusion.jar
/
bsh
/
commands
/
unset.bsh
< prev
next >
Wrap
Text File
|
2005-05-23
|
387b
|
17 lines
/**
"Undefine" the variable specifed by 'name' (So that it tests == void).
<p>
<em>Note: there will be a better way to do this in the future. This is
currently equivalent to doing namespace.setVariable(name, null);</em>
*/
bsh.help.unset = "usage: unset( name )";
void unset( String name )
{
if ( arg == null ) // ???
return;
this.caller.namespace.unsetVariable( name );
}